(function () {

    window.App = {
        Models: {},
        Views: {},
        Collections: {},

        init: function () {
            var personCollection = new App.Collections.Person([
                {
                    name: 'janker'
                },
                {
                    name: 'jovian',
                    age: 24,
                    job: 'teacher'
                },
                {
                    name: 'jankerli',
                    age: 25,
                    job: 'web developer'
                }
            ]);
            var peopleView = new App.Views.People({collection: personCollection});
            $(document.body).append(peopleView.render().el);
        }
    };

    $( _.bind(App.init, App) );

})();
